package day52.org.mapper;

import day52.basic.mapper.BaseMapper;
import day52.org.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee findByUserName(String username);

    List<Employee> findAdmin(Long shopId);

    Employee findByLoginInfoId(Long id);

    List<Employee> findEmpByShopId(Long shopId);

}
